Disable parallel building on sh4
authorAaron M. Ucko <ucko@debian.org>
Sun, 28 Jul 2024 02:37:56 +0000 (22:37 -0400)
committerAaron M. Ucko <ucko@debian.org>
Sun, 28 Jul 2024 02:37:56 +0000 (22:37 -0400)
... in hopes of avoiding buildd virtual memory exhaustion.

debian/changelog
debian/rules

index 78266554e85cbf4b1199c8fdb4ab24b0f770399b..0732cb3b9b87776ceb2e007f10453bf13b8ce9fb 100644 (file)
@@ -6,8 +6,10 @@ ncbi-blast+ (2.16.0+ds-4) UNRELEASED; urgency=medium
       hypothetical builds bypassing dpkg-buildpackage.
     - Compile with -ffunction-sections on hppa and -mxgot on mips*
       (mips64el in practice) due to having outgrown default settings.
+    - Disable parallel building on sh4 in hopes of avoiding buildd virtual
+      memory exhaustion.
 
- -- Aaron M. Ucko <ucko@debian.org>  Sat, 27 Jul 2024 22:35:01 -0400
+ -- Aaron M. Ucko <ucko@debian.org>  Sat, 27 Jul 2024 22:37:55 -0400
 
 ncbi-blast+ (2.16.0+ds-3) unstable; urgency=medium
 
index aea426aa98b31b3a21b6705c9dcbc0b405ed8db9..19abdded16d7ffc5e6490c925a8f1ed747bd8dac 100755 (executable)
@@ -10,7 +10,9 @@ export HOME=$(CURDIR)/fakehome
 
 NUMJOBS=1
 ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+  ifneq (sh4,$(DEB_BUILD_ARCH))
     NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+  endif
 endif
 
 DEB_CONFIGURE_COMMON_FLAGS=--without-autodep --without-makefile-auto-update \